<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>








  
  
  
  
  
  
  
  <style type="text/css">
html { font-family: Arial,Helvetica,sans-serif;
background-color: white;
color: black;
}
p { max-width: 60em;
}
table { border-collapse: collapse;
empty-cells: show;
margin: 1em 0em;
border: 0.1em solid black;
}
th, td {
border-style: solid;
border-width: 0.05em 0.1em;
border-color: black;
padding: 0.1em 0.2em;
height: 1.5em;
}
th {
background-color: rgb(192, 192, 192);
color: black;
border-width: 0.1em;
font-weight: bold;
text-align: center;
text-transform: capitalize;
letter-spacing: 0.1em;
}
/* Widths of named columns */
col.name {
width: 10em;
}
.action , .value, .arg {
width: 15em;
}
/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
- col.name is against specs but works in IE
*/
td:first-child, col.name {
background-color: rgb(240, 240, 240);
text-transform: capitalize;
letter-spacing: 0.1em;
}
th { font-style: normal; } /* required for IE */
  </style>
  


  
  
  
  
  
  
  
  
  
  
  
  
  
  <title>Robot Test Cases</title>
  <link type="text/css" href="resources/css/testdata.css" rel="stylesheet">
</head>


<body>








<h1>Robot Test for Java Libraries</h1>



<br>



<span style="font-weight: bold;">This stuff tested also in keywords/java_arguments.html. These files should be combined. Also should make sure <br>


we have tests for importing and using javalibs in also in package (e.g. my.package.MyLib)<br>


</span>
<table border="1">


  <thead><tr>


    <th>Setting</th>








    <th>Value</th>








    <th>Value</th>








    <th>value</th>








    <th>Value</th>








  </tr>








  </thead> <tbody>








    <tr>



      <td>Document</td>



      <td>Tests for using libraries implemented with Java</td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td>Force Tags</td>



      <td>regression</td>



      <td>jybot</td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>








      <td>Resource</td>








      <td>atest_resource.txt</td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








    




    





    <tr>








      <td>Suite Setup</td>








      <td>Run Tests</td>








      <td><br>

      </td>








      <td>test_libraries${/}java_libraries.html</td>








      <td></td>








    </tr>








  
  
  
  
  
  
  
  </tbody>
</table>













<table border="1">








  <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead>
  <tr>








    <th>Variable</th>








    <th>Value</th>








    <th>Value</th>








    <th>Value</th>








    <th>Value</th>








  </tr>








  </thead> <tbody>








    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








  
  
  
  
  
  
  
  </tbody>
</table>













<table border="1">








  <colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
  <thead> <tr>








    <th>Test Case</th>








    <th>Action</th>








    <th>Argument</th>








    <th>Argument</th>








    <th>Argument</th>








  </tr>








  </thead> <tbody>








    <tr>



      <td align="undefined" valign="undefined">String Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">String Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>



      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      <td align="undefined" valign="undefined">Hello world</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Char Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Char Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>



      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      <td align="undefined" valign="undefined">x</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">y</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Boolean Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Boolean Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">Oh Yes!!</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">Oh No!!</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Double Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Double Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">3.14</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">1000.0</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Float Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Float Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-3.14</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-0.1</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Long Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Long Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">1000000000000000</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-1</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Integer Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Integer Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">42</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-1</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Short Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Short Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">2006</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-100</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Byte Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Byte Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">8</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">0</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">String Array Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">String Array Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">Hello\nmy\nworld</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">Hi your tellus</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Fail Unless</td>



      <td align="undefined" valign="undefined">len(${test.kws[2].msgs}) == 0</td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[4].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">Moi\nmaailma</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[6].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">a\nb\nc</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined">Integer Array Arg</td>



      <td align="undefined" valign="undefined">${test} =</td>



      <td align="undefined" valign="undefined">Check Test Case</td>



      <td align="undefined" valign="undefined">Integer Array Arg</td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[0].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">1\n2\n3</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[1].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-2006\n2006</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Fail Unless</td>



      <td align="undefined" valign="undefined">len(${test.keywords[2].messages}) == 0</td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Fail Unless</td>



      <td align="undefined" valign="undefined">len(${test.keywords[3].messages}) == 0</td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[5].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-1\n1</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined">Check Log Message</td>

      <td align="undefined" valign="undefined">${test.kws[6].msgs[0]}</td>



      

      <td align="undefined" valign="undefined">-1\n1</td>



      <td align="undefined" valign="undefined"><br>

      </td>



    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>



    

    

    <tr>








      <td>Return Integer</td>








      <td>Check Test Case</td>








      <td>Return Integer</td>








      <td></td>








      <td></td>








    </tr>








    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>










    <tr>








      <td>Return Double</td>








      <td>Check Test Case</td>








      <td>Return Double</td>








      <td></td>








      <td></td>








    </tr>










    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








    <tr>








      <td>Return Boolean</td>








      <td>Check Test Case</td>








      <td>Return Boolean</td>








      <td></td>








      <td></td>








    </tr>













    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








    <tr>








      <td>Return String</td>








      <td>Check Test Case</td>








      <td>Return String</td>








      <td></td>








      <td></td>








    </tr>








    <tr>




      <td align="undefined" valign="undefined"></td>




      <td align="undefined" valign="undefined"></td>




      <td align="undefined" valign="undefined"></td>




      <td align="undefined" valign="undefined"></td>




      <td align="undefined" valign="undefined"></td>




    </tr>




    <tr>




      <td>Return Null</td>




      <td>Check Test Case</td>




      <td>Return Null</td>




      <td align="undefined" valign="undefined"></td>




      <td align="undefined" valign="undefined"></td>




    </tr>




    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>










    <tr>








      <td>Return String Array</td>








      <td>Check Test Case</td>








      <td>Return String Array</td>








      <td></td>








      <td></td>








    </tr>










    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








    <tr>








      <td>Return Int Array</td>








      <td>Check Test Case</td>








      <td>Return Int Array</td>








      <td></td>








      <td></td>








    </tr>










    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>








  
  
  
  
  
  
  
  </tbody>
</table>








<br>








<table border="1">








  <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead>
  <tr>








    <th>Keyword</th>








    <th>Action</th>








    <th>Argument</th>








    <th>Argument</th>








    <th>Argument</th>








  </tr>








  </thead> <tbody>








    <tr>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








      <td></td>








    </tr>



    <tr>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



      <td align="undefined" valign="undefined"></td>



    </tr>








  
  
  
  
  
  
  
  </tbody>
</table>













</body>
</html>
